class Tarefa < ActiveRecord::Base
  
  belongs_to :requisito
  belongs_to :tarefas_funcionario
  
  validates :pts_complexidade, :presence => true, :numericality => true
  validates :tempo_estimado, :presence => true, :numericality => {:greater_than => 0}
  validates :descricao, :presence => true
  
end
